package com.example.classes;

import java.io.Serializable;
import java.util.ArrayList;
 
public class ABuildingInR implements Serializable {
    private String buidlingname;
    private String conqueredUId;
    private boolean locked;
    private int point;
    private int team;
    private ArrayList<Integer> questions = new ArrayList<Integer>();
    
    public ABuildingInR(String name, ArrayList<Integer> questions) {
        this.buidlingname = name;
        this.conqueredUId = null;
        this.locked = false;
        this.point = 0;
        this.team = 0;
        this.questions = (ArrayList<Integer>) questions.clone();
    }

    public ABuildingInR() {
        
    }

    public ArrayList<Integer> getQuestions() {
        return questions;
    }

    public void setQuestions(ArrayList<Integer> questions) {
        this.questions = questions;
    }

    public int getTeam() {
        return team;
    }

    public void setTeam(int team) {
        this.team = team;
    }

    public boolean isLocked() {
        return locked;
    }

    public void setLocked(boolean locked) {
        this.locked = locked;
    }
    
    public String getBuidlingname() {
        return buidlingname;
    }

    public void setBuidlingname(String buidlingname) {
        this.buidlingname = buidlingname;
    }

    public String getConqueredUId() {
        return conqueredUId;
    }

    public void setConqueredUId(String conqueredUId) {
        this.conqueredUId = conqueredUId;
    }

    public int getPoint() {
        return point;
    }

    public void setPoint(int point) {
        this.point = point;
    }
}